<extend name="Public/template" />

<block name="style">

</block>

<block name="body">
    <iframe id='content' name="content" src="{:U('Desktop/calendar')}"
            onload="SetCwinHeight('content');" marginheight="0" marginwidth="0" frameborder="0" scrolling="no" width=100% height=100%></iframe>
</block>

<block name="script">
<script type="text/javascript">
    function SetCwinHeight(down)
    {
        var pTar=null;
        if (document.getElementById) {
            pTar = document.getElementById(down);
        }else{
            eval('pTar = ' + down + ';');
        }
        if (pTar && !window.opera) {
            //begin resizing iframe
            pTar.style.display = "block";
            if (pTar.contentDocument && pTar.contentDocument.body.offsetHeight) {
                //ns6 syntax
                pTar.height = document.body.offsetHeight - 120;
                //pTar.width = document.body.scrollWidth + 0;
            }
            else if (pTar.Document && pTar.Document.body.scrollHeight) {
                //ie5+ syntax
                pTar.height = document.body.offsetHeight - 120;
                //pTar.width = pTar.Document.body.scrollWidth;
            }
        }
    }
        $(function(){
            $(document).ready(function() {
                $('#wdzm').collapse('open');
            });
        });
</script>
</block>